package org.fle4y.common.utils.log;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * author : xiehui<br>
 * company : northking <br>
 * Create at: 2012-6-8<br>
 * @version : 1.0<br>
 * mailto:flexie@foxmail.com<br>
 *  Description : 对标准的Logger进行封装,增加自定义输出文件格式位置
 */
public class MyLogger extends Logger{
	
	private MyLogger(String name, String resourceBundleName) {
		super(name, resourceBundleName);
	}
	
	public void severe(String msg){
		if(isLoggable(Level.SEVERE)){
				severe(msg);
		}
	}
	
	public void warning(String msg){
		if(isLoggable(Level.WARNING)){
				warning(msg);
		}
	}

	public void info(String msg){
		if(isLoggable(Level.INFO)){
				info(msg);
		}
	}
	
	public void config(String msg){
		if(isLoggable(Level.CONFIG)){
				config(msg);
		}
	}
	
}
